package slap.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface Accept {
	
	public static final int PRIORITY_DEFAULT = 100;
	public static final int PRIORITY_MAX = Integer.MAX_VALUE;
	public static final int PRIORITY_MIN = 0;
	
	String[] value() default "";
	String[] wildcard() default "";
	String[] regex() default "";
	String[] method() default "GET";
	int priority() default PRIORITY_DEFAULT;
}
